
const express = require('express');

// 定义路由中间件
let cateRouter = express.Router();


// 文章分类
cateRouter.get('/list', (req, res) => {
    res.send(req.baseUrl + req.url)
})

// 新增分类
cateRouter.post('/add', (req, res) => {
    res.send(req.url)
})


// 导出中间件
module.exports = cateRouter;